<!DOCTYPE html>
<html lang="en-US">
<head>
    <meta charset="UTF-8"/>
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=1" name="viewport" />
    <meta http-equiv="content-script-type" content="text/javascript">
    <meta name="format-detection" content="telephone=no" />
    <!-- uc强制竖屏 -->
    <meta name="screen-orientation" content="portrait">
    <!-- QQ强制竖屏 -->
    <meta name="x5-orientation" content="portrait">
            <link rel="shortcut icon" href="/favicon.ico">
    <meta http-equiv="Cache-Control" content="max-age=900" />

    <title><?php echo $info['title'];?></title>

    <link rel="stylesheet"href="statics/mobile/css/style.css?v=20161031011123">
    <link rel="stylesheet"href="statics/mobile/css/SpsBtn.css?v=20161031011123">

    <link rel="stylesheet"href="statics/mobile/css/Magazine/magazine.css?v=20161031011123">
</head>

<body style="background-color: #f8f8f8;width:100%;">
<textarea style="display:none;" id="j-initdata"><?php echo $info['content'];?></textarea>
<textarea style="display:none;" id="j-navdata"><?php echo $nav;?></textarea>
<div class="top-panel">
<!-- 一键关注，显示推荐人信息 -->

<!-- 在app中打开 -->
</div>

<div class="membersbox pad50">
	<header class="fall-back"><a href="/User/mycoupon/sid/4001109.html?pid=27020622"><?php echo $content['page']['title'];?></a></header>
	<div id="diy-conitem"></div>
	
	<!-- 点赞、分享 -->
	<section class="sharedetail clearfix">
		<!-- icon_praised表示已经赞过，若没赞则没有icon_praised这个类 -->
		<div class="detailPraise fl"><h4 class="fr"><p class="fl icon_common praise_class <?php echo $praise['id']>0?'icon_praised':'icon_praise';?>" data-id="<?php echo $id;?>"></p><p class="shareinfo fl">点赞<br><span class="praise_num"><?php echo intval($info['praises']);?></span>次</p></h4></div>
		<div class="detailshare fr"><h4 class="fl j-share" id="fxBtn-share"><p class="fl icon_common icon_share"></p><p class="shareinfo nopraise fl">分享</p></h4></div>
	</section>
	<?php include VIEWS_PATH."bottom.php";?>
</div>
<div id="diy-nav"></div>

<?php foreach($content['LModules'] as $v){?>
<?php echo file_get_contents(API_STORE.'widget/'.$v['type'].'/content.html');?>
<?php }?>
<?php echo file_get_contents(API_STORE.'widget/Navigation/content.html');?>
<script>
	var site_root='<?php echo API_STORE;?>';
    var ItemID="<?php echo $info['id'];?>";//当前专题ID
    var pid="";
	var shareATimes = 0;
	var shareTTimes = 0;
	function shareOpentions(flag){
		return {
			title : "<?php echo $info['title'];?>【Bidcms开源分销系统】",   // 分享标题
			desc  : "<?php echo $content['page']['excerpt'];?>",    // 分享描述
			link  : "<?php echo url('','special',array('id'=>$info['id'],'pid'=>''),'mobile');?>",     // 分享链接
			imgUrl: "<?php echo $content['page']['view_pic'];?>",      // 分享图标
			type: 'link', // 分享类型,music、video或link，不填默认为link
			dataUrl: '', // 如果type是music或video，则要提供数据链接，默认为空
			success: function () {
				if(flag == 2)
				{
					shareTTimes += 1;
					share_tip(shareATimes,shareTTimes);
				}
				else if(flag == 1)
				{
					shareATimes += 1;
					share_tip(shareATimes,shareTTimes);
				}
				// 用户确认分享后执行的回调函数
			},
			cancel: function () { 
				// 用户取消分享后执行的回调函数
			}
		};
	}
	var bid ="";
    var Sid="<?php echo $GLOBALS['store_id'];?>";
</script>
<?php include VIEWS_PATH."footer.php";?>

<script type="text/javascript" src="statics/mobile/js/dist/Magazine/magazine.js?v=20161031011123"></script>

</body>
</html>
<!-- 20160922 -->
